package com.scy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.*;

/**
 * @Description  
 * @Author  wwh
 * @Date 2024-07-03 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("book")
public class Book implements Serializable {

	private static final long serialVersionUID = 6897301041596983170L;

	/**
	 * 图书编号
	 */
   	@TableId(type = IdType.AUTO)
	private Long bookId;

   	@TableField("ISBN")
	private String isbn;

	/**
	 * 书名
	 */
   	@TableField("book_name")
	private String bookName;

	/**
	 * 作者
	 */
   	@TableField("book_author")
	private String bookAuthor;

	/**
	 * 出版社
	 */
   	@TableField("book_publish")
	private String bookPublish;

	/**
	 * 价格
	 */
   	@TableField("book_price")
	private Double bookPrice;

	/**
	 * 类型
	 */
   	@TableField("book_type")
	private Long bookType;

	/**
	 * 评分
	 */
   	@TableField("book_score")
	private Double bookScore;

}
